// .main {
//   width:320px;
//   height: 640px;
//   border:none;
//   display: block;
//   margin: 20px auto;
//   background-color: #fff;
// }
.main {
  width: 360px;
  height: 640px;
  border: none;
  display: block;
  margin: 20px auto;
  background-color: #fff;
  position: relative;
  overflow-y: scroll;

  &::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
  }

  &::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
    background: #535353;
  }

  &::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background: #ededed;
  }
}

.contexMenu {
  width: 200px;
  background-color: #fff;
  border: 1px solid #efefef;
  position: absolute;
}

.operation {
  position: absolute;
  width: 25px;
  height: 300px;
  top: 20px;
  right: -30px;

  .icon {
    color: #707070;
    font-size: 20px;
    cursor: pointer;
    display: block;
    margin-bottom: 10px;
    text-align: center;
    &:hover {
      color: #1890ff;
    }
  }
}

.componentActive {
  border: 2px solid #84b2ff;
  position: relative;
 
  .moveBlock{
    display: block;
    position: absolute;
    border:1px solid #ccc;
    width: 50px;
    padding:5px 0;
    content:"";
    bottom:-5px;
    background-color: #fff;
    border-radius: 5px;
    left:50%;
    margin-left: -25px;
    cursor: n-resize;
    z-index: 99999;
  }
}

.uploadLoading{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 99;

  .progressBar{
    width: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
  }
}